import { createPinia } from 'pinia';
import { App } from 'vue';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
export function setupPinia(app:App){
	app.use(pinia)
}
import {userStore} from "./module/user"
import {menuStore} from "./module/menu"
import {routeStore} from "./module/routes"
export {userStore,menuStore,routeStore}
